package com.itheima.factory;

import com.itheima.dao.UserDao;
import com.itheima.dao.impl.UserDaoImpl;

public class UserDaoFactory {
    public static UserDao getUserDao(){
        System.out.println("factory setup 静态工厂的方式实例化....");
        return new UserDaoImpl();
    }
}
